home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 April: Mac OS SDK / Dev.CD Apr 98 SDK1.toast / Development Kits (Disc 1) / Interfaces&Libraries / Universal / Interfaces / AIncludes / CMScriptingPlugin.a < prev    next >
Encoding:
Text File  |  1998-02-12  |  1.5 KB  |  52 lines  |  [TEXT/MPS ]

  1. ;
  2. ;    File:        CMScriptingPlugin.a
  3. ;
  4. ;    Contains:    ColorSync Scripting Plugin API
  5. ;
  6. ;    Version:    Technology:    ColorSync 2.5
  7. ;                Release:    Universal Interfaces 3.1
  8. ;
  9. ;    Copyright:    © 1998 by Apple Computer, Inc., all rights reserved.
  10. ;
  11. ;    Bugs?:        Please include the the file and version information (from above) with
  12. ;                the problem description.  Developers belonging to one of the Apple
  13. ;                developer programs can submit bug reports to:
  14. ;
  15. ;                    devsupport@apple.com
  16. ;
  17. ;
  18.     IF &TYPE('__CMSCRIPTINGPLUGIN__') = 'UNDEFINED' THEN
  19. __CMSCRIPTINGPLUGIN__ SET 1
  20.  
  21.     IF &TYPE('__FILES__') = 'UNDEFINED' THEN
  22.     include 'Files.a'
  23.     ENDIF
  24.     IF &TYPE('__CMAPPLICATION__') = 'UNDEFINED' THEN
  25.     include 'CMApplication.a'
  26.     ENDIF
  27.     IF &TYPE('__CODEFRAGMENTS__') = 'UNDEFINED' THEN
  28.     include 'CodeFragments.a'
  29.     ENDIF
  30.  
  31.  
  32.  
  33.  
  34.                                                             ; ColorSync Scripting AppleEvent Errors 
  35. cmspInvalidImageFile            EQU        -4220                ; Plugin cannot handle this image file type 
  36. cmspInvalidImageSpace            EQU        -4221                ; Plugin cannot create an image file of this colorspace 
  37. cmspInvalidProfileEmbed            EQU        -4222                ; Specific invalid profile errors 
  38. cmspInvalidProfileSource        EQU        -4223
  39. cmspInvalidProfileDest            EQU        -4224
  40. cmspInvalidProfileProof            EQU        -4225
  41. cmspInvalidProfileLink            EQU        -4226
  42.  
  43. ; *** embedFlags field  ***
  44. ;  reserved for future use: currently 0 
  45.  
  46. ; *** matchFlags field  ***
  47.  
  48. cmspFavorEmbeddedMask            EQU        $00000001            ; if bit 0 is 0 then use srcProf profile, if 1 then use profile embedded in image if present
  49.  
  50.     ENDIF ; __CMSCRIPTINGPLUGIN__ 
  51.  
  52.